Fix contrast ratio for Since element in rustdoc dark theme#151665
Fix contrast ratio for Since element in rustdoc dark theme#151665rust-bors[bot] merged 1 commit intorust-lang:mainfrom
Since element in rustdoc dark theme#151665Conversation
|
Some changes occurred in HTML/CSS/JS. |
|
rustbot has assigned @GuillaumeGomez. Use |
This comment has been minimized.
This comment has been minimized.
|
Some changes occurred in GUI tests. |
This comment has been minimized.
This comment has been minimized.
|
@GuillaumeGomez I changed color from
|
|
Looks good to me, thanks! Please squash your commits then I'll put it into the build queue. |
Signed-off-by: Antonio Souza <arfs.antonio@gmail.com>
a96e5a9 to
c7788af
Compare
|
typo in commit and title? |
|
What typo do you see? Also sorry, forgot to r+ it. r+ing in the meantime. @bors r+ rollup |
…=GuillaumeGomez Fix contrast ratio for `Since` element in rustodoc dark theme Changed `--right-side-color` from `#808080` to `#ababab` in the dark theme. <img width="742" height="784" alt="Screenshot 2026-01-25 at 8 04 29 PM" src="https://github.com/user-attachments/assets/38c5f0b9-2034-429f-87db-8a0ed8209b5d" /> Verified visually in dark theme, it's now more readable: <img width="174" height="96" alt="Screenshot 2026-01-25 at 8 41 02 PM" src="https://github.com/user-attachments/assets/d0c30409-4374-48c4-ae9c-a0aec48e8957" /> Part of rust-lang#59845 Fixes rust-lang#151422
|
"rustodoc" no idea if this is a typo or i'm missing something. |
Rollup of 8 pull requests Successful merges: - #150474 (Tidy: detect ui tests subdirectory changes so `tests/ui/README.md` stays in sync) - #150572 (Improve move error diagnostic for `AsyncFn` closures) - #151596 (Fix -Zmir-enable-passes to detect unregistered enum names in declare_passes macro) - #151802 (Make `QueryDispatcher::Qcx` an associated type) - #151559 ([rustdoc] Add a marker to tell users that there are hidden (deprecated) items in the search results) - #151665 (Fix contrast ratio for `Since` element in rustodoc dark theme) - #151798 (Update `askama` to `0.15.3`) - #151800 (Subscribe myself to translation diagnostics)
Since element in rustodoc dark themeSince element in rustdoc dark theme
it was a typo on my PR title, commit looks okay, fixed title tho |
|
Commit has the same typo |
Rollup of 12 pull requests Successful merges: - #150474 (Tidy: detect ui tests subdirectory changes so `tests/ui/README.md` stays in sync) - #150572 (Improve move error diagnostic for `AsyncFn` closures) - #151596 (Fix -Zmir-enable-passes to detect unregistered enum names in declare_passes macro) - #151802 (Make `QueryDispatcher::Qcx` an associated type) - #149110 (Implement `cast_slice` for raw pointer types) - #151559 ([rustdoc] Add a marker to tell users that there are hidden (deprecated) items in the search results) - #151665 (Fix contrast ratio for `Since` element in rustdoc dark theme) - #151785 (Stabilize feature(push_mut)) - #151798 (Update `askama` to `0.15.3`) - #151800 (Subscribe myself to translation diagnostics) - #151804 (Document, sort, and tweak spellcheck entries in `typos.toml`) - #151805 (Fix grammar in `env::current_exe()#Security`)
Rollup merge of #151665 - arferreira:fix-rustdoc-contrast, r=GuillaumeGomez Fix contrast ratio for `Since` element in rustdoc dark theme Changed `--right-side-color` from `#808080` to `#ababab` in the dark theme. <img width="742" height="784" alt="Screenshot 2026-01-25 at 8 04 29 PM" src="https://github.com/user-attachments/assets/38c5f0b9-2034-429f-87db-8a0ed8209b5d" /> Verified visually in dark theme, it's now more readable: <img width="174" height="96" alt="Screenshot 2026-01-25 at 8 41 02 PM" src="https://github.com/user-attachments/assets/d0c30409-4374-48c4-ae9c-a0aec48e8957" /> Part of #59845 Fixes #151422

Changed
--right-side-colorfrom#808080to#abababin the dark theme.Verified visually in dark theme, it's now more readable:
Part of #59845
Fixes #151422